package com.xgimi.open.skill.datamanager.service.api;

import com.xgimi.commons.base.Result;
import com.xgimi.open.skill.datamanager.service.request.BatchSpeechRuleReqDTO;
import com.xgimi.open.skill.datamanager.service.request.SpeechRuleReqDTO;
import com.xgimi.open.skill.datamanager.service.response.BatchSpeechRuleRespDTO;
import com.xgimi.open.skill.datamanager.service.response.SpeechRuleRespDTO;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;

import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/3/3 14:43
 */
public interface SpeechRuleRpcService {
    public Result<Boolean> addSpeechRule(SpeechRuleReqDTO speechRuleReqDTO);

    public Result<BatchSpeechRuleRespDTO> batchCreate(BatchSpeechRuleReqDTO batchSpeechRuleReqDTO);

    public Result<PageResult<SpeechRuleRespDTO>> pageQuery(SpeechRuleReqDTO speechRuleReqDTO);

    public Result<List<SpeechRuleRespDTO>> listByIntentId(Long intentId);
    public Result<List<SpeechRuleRespDTO>> listByIntentIds(List<Long> intentIds);

    public Result<Boolean> delete(SpeechRuleReqDTO speechRuleReqDTO);

    public Result<Boolean> update(SpeechRuleReqDTO speechRuleReqDTO);
}
